﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TimeTracker
{
    public partial class Manager
    {
        public bool CanCreateProject() { return this.CanCreateProject(null); }
        public bool CanCreateProject(IProject parent) { return this.Provider.CanCreateProject(parent); }
        public bool CanEditProject(IProject project) { return this.Provider.CanCreateProject(project); }
        public bool CanDeleteProject(IProject project) { return this.Provider.CanCreateProject(project); }

        public bool CanCreateSession(IProject project) { return this.Provider.CanCreateSession(project); }
        public bool CanEditSession(ISession session) { return this.Provider.CanEditSession(session); }
        public bool CanDeleteSession(ISession session) { return this.Provider.CanDeleteSession(session); }

        public bool CanCreateNote(ISession session) { return this.Provider.CanCreateNote(session); }
        public bool CanEditNote(INote note) { return this.Provider.CanEditNote(note); }
        public bool CanDeleteNote(INote note) { return this.Provider.CanDeleteNote(note); }

    }
}
